/**
 *	TrueMusic - simple Java music player
 *
 *	TrueMusic is free software; you can redistribute it
 *	and/or modify it under the terms of the GNU General
 *	Public License as published by the Free Software
 *	Foundation; either version 2 of the License or (at
 *	your option) any later version.
 *
 *	This program is distributed in the hope that it will be
 *	useful but WITHOUT ANY WARRANTY; without even the
 *	implied warranty of the MERCHANTABILITY or FITNESS FOR
 *	A PARTICULAR PURPOSE. See the GNU General Public
 *	License for more details.
 *
 *	Copyright (c)2005-2007 Ryan Macnak <rmacnak@gmail.com>
 */

package com.servequake.truemusic;

/**
 * Implemeneted by Audio's where the metadata can be changed.
 */
public interface TaggableAudio
{
	/**
	 * (Re)read the metadata from the source.
	 */
	public void readTag() throws Exception;

	/**
	 * Save the new metadata to the source.
 	 */
	public void writeTag(String title, String artist, String album, String track, String genre, String lyrics) throws Exception;
}
